package thrift

import "github.com/apache/thrift/lib/go/thrift"

func NewProtocolFactory() thrift.TProtocolFactory {
	return thrift.NewTBinaryProtocolFactoryDefault()
}
func NewTransportFactory() thrift.TTransportFactory {
	return thrift.NewTFramedTransportFactory(thrift.NewTTransportFactory())
}
